package com.example.administrator.yuejian2.service;

import com.example.administrator.yuejian2.bean.PicBean;

import java.util.Map;

import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.PartMap;

public interface ShowPicService {
    @Multipart
    @POST("addPicture")
    Call<PicBean> AddPic (
            @PartMap Map<String, RequestBody> bodyMap,
            @Part MultipartBody.Part file
    );
}
